package com.sch.hospital.domain;

import java.time.LocalDate;

/**
 * 诊室信息对象 room
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class Room
{
    /** 房间ID，自增主键 */
    private Long id;

    /** 房间名称 */
    private String roomName;

    /** 所在楼层 */
    private Long floor;

    /** 所属一级科室ID */
    private Long departId1;

    /** 所属二级科室ID */
    private Long departId2;

    /** 状态:0停用,1启用 */
    private Long status;

    /** 创建时间 */
    private LocalDate createTime;

    /** 更新时间 */
    private LocalDate updateTime;

    public Room() {
    }

    public Room(Long id, String roomName, Long floor, Long departId1, Long departId2, Long status, LocalDate createTime, LocalDate updateTime) {
        this.id = id;
        this.roomName = roomName;
        this.floor = floor;
        this.departId1 = departId1;
        this.departId2 = departId2;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return roomName
     */
    public String getRoomName() {
        return roomName;
    }

    /**
     * 设置
     * @param roomName
     */
    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    /**
     * 获取
     * @return floor
     */
    public Long getFloor() {
        return floor;
    }

    /**
     * 设置
     * @param floor
     */
    public void setFloor(Long floor) {
        this.floor = floor;
    }

    /**
     * 获取
     * @return departId1
     */
    public Long getDepartId1() {
        return departId1;
    }

    /**
     * 设置
     * @param departId1
     */
    public void setDepartId1(Long departId1) {
        this.departId1 = departId1;
    }

    /**
     * 获取
     * @return departId2
     */
    public Long getDepartId2() {
        return departId2;
    }

    /**
     * 设置
     * @param departId2
     */
    public void setDepartId2(Long departId2) {
        this.departId2 = departId2;
    }

    /**
     * 获取
     * @return status
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 获取
     * @return createTime
     */
    public LocalDate getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public LocalDate getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(LocalDate updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        return "Room{id = " + id + ", roomName = " + roomName + ", floor = " + floor + ", departId1 = " + departId1 + ", departId2 = " + departId2 + ", status = " + status + ", createTime = " + createTime + ", updateTime = " + updateTime + "}";
    }
}
